<!-- PAGER -->
<hr/>
<?php if($this->limit):?>
<div class="pager">
	<?php
	$query_string = '';
	unset($_GET['limit']); unset($_GET['offset']);
	foreach($_GET as $k => $v) $query_string.='&amp;'.$k.'='.urlencode($v);
	?>
<?php if($this->offset >= $this->limit):?>
	<a rel="prev"
	href="<?php echo $this->request_uri.'?limit='.$this->limit.'&amp;offset='.($this->offset-$this->limit).$query_string?>">
	Previous
	</a>
<?php endif?>

<?php if($count_results == $this->limit):?>
	<a rel="next"
	href="<?php echo $this->request_uri.'?limit='.$this->limit.'&amp;offset='.($this->offset+$this->limit).$query_string?>">
	Next
	</a>
<?php endif?>

<?php endif?>